<template>
  <div class="footer">
    <div class="footer-img">
      <img src="/imgs/logo-footer.png" alt="">
    </div>
    <span class="text">小米商城</span>
    <div class="list">
      <a href="">jing</a>
      <a href="">靖的博客</a>
      <a href="">查看详情</a>
      <a href="">查看更多</a>
      <a href="">慕课网</a>
    </div>
    <p></p>
  </div>
</template>

<script>
export default {
  name: 'nav-footer',
  data () {
    return {}
  }
}
</script>

<style lang="scss" scoped>
.footer {
  height: 234px;
  background: #343434;
  color: #9a9a9a;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 16px;

  .footer-img {
    width: 53px;
    height: 36px;
    margin-top: 45px;

    img {
      width: 100%;
    }
  }

  .text {
    margin-top: 13px;
  }

  .list {
    margin-top: 31px;

    a {
      display: inline-block;
      padding: 0 10px;
      position: relative;
      color: #9A9A9A;
      font-size: 14px;

      &:after {
        content: '';
        display: inline-block;
        width: 1px;
        height: 100%;
        position: absolute;
        right: 0;
        background: #9A9A9A;
      }

      &:last-child {
        &:after {
          display: none;
        }
      }
    }
  }
}

</style>
